package com.oa.admin.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.oa.admin.dto.SubsidyRemindListDTO;
import com.oa.admin.entity.SubsidyRemind;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.oa.admin.vo.SubsidyRemindDetails;
import com.oa.admin.vo.SubsidyRemindListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 补贴提醒 Mapper 接口
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface SubsidyRemindMapper extends BaseMapper<SubsidyRemind> {
    /**
     * 分页查询列表
     * @param page
     * @return
     */
     List<SubsidyRemind> findList(Pagination page);

     /**
     * 查询所有列表
     * @return
     */
     List<SubsidyRemind> findList();

        /**
        * 根据id查询
   */
    SubsidyRemind findById(@Param("id") String id);

    List<SubsidyRemindListVO> findSubsidyRemindList(Page page, SubsidyRemindListDTO subsidyRemindListDTO);

    SubsidyRemindDetails findSubsidyRemindById(String id);
}
